package com.example.shopping.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 订单
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Indent  extends BasePojo{
    @TableId(type = IdType.AUTO)
    private int id;
    private int userId;
    private String name;
    private String img;
    private String details;
    private int recommend;
    private int type;
    private int flag;

    public Indent(Integer userId, String img, String name, String details) {
        this.userId=userId;
        this.img=img;
        this.name=name;
        this.details=details;

    }

    // Getters and Setters
}